package com.ims.core.enums;

/**
 * 是否享受优惠政策标识
 * 0    不享受
 * 1    享受
 * @author IMS
 */
public enum IsPolicy {
    NOT_ENJOY(0, "不享受"),
    ENJOY(1, "享受");

    private final int code;
    private final String name;

    IsPolicy(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}